﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ARA.WebApp
{
    public partial class BatchDetail : System.Web.UI.Page
    {
        
        protected void Page_Load(object sender, EventArgs e)
        {
            if(!IsPostBack)
            {
                Guid batchId = new Guid(Request.QueryString["batchId"]);

                List<ARA.Domain.Entities.Record> records = new ARA.Domain.Services.QueryService().QueryRecordList(batchId);
                ctlRepeater.DataSource = records;
                ctlRepeater.DataBind();
            }
        }
    }
}